home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / util / moni / Scout-src.lha / source / objects / scout_extras.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-09-17  |  3.0 KB  |  124 lines

  1. /**
  2.  * Scout - The Amiga System Monitor
  3.  *
  4.  *------------------------------------------------------------------
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  *
  20.  * You must not use this source code to gain profit of any kind!
  21.  *
  22.  *------------------------------------------------------------------
  23.  *
  24.  * @author Andreas Gelhausen
  25.  * @author Richard Körber <rkoerber@gmx.de>
  26.  */
  27.  
  28.  
  29. /* Prototypes for functions defined in
  30. objects/scout_extras.c
  31.  */
  32.  
  33. struct JumpEntry {
  34.     UWORD je_JMPInstruction;
  35.     APTR je_JumpAddress;
  36. };
  37.  
  38. #define WINDOW_TITLE_LENGTH         128
  39.  
  40. #define SPACE40 "                                        "
  41.  
  42. BOOL GetPriority( UBYTE * , LONG * );
  43.  
  44. extern UBYTE updatetimetext[9];
  45.  
  46. void NoReqOn( void );
  47.  
  48. void NoReqOff( void );
  49.  
  50. struct Library *MyOpenLibrary( UBYTE * , ULONG );
  51.  
  52. void Flags2BinStr( UBYTE , UBYTE * , ULONG );
  53.  
  54. void MySetContents( APTR , UBYTE * , ... );
  55.  
  56. void MySetContentsHealed( APTR , UBYTE * , ... );
  57.  
  58. void MySetStringContents(APTR , UBYTE * , ...);
  59.  
  60. void SetCountText( APTR , ULONG );
  61.  
  62. UBYTE *MyGetWindowTitle( UBYTE * , UBYTE *, ULONG );
  63.  
  64. UBYTE *MyGetChildWindowTitle( UBYTE * , UBYTE *, UBYTE *, ULONG );
  65.  
  66. void ApplicationSleep( BOOL );
  67.  
  68. void RedrawActiveEntry( APTR );
  69.  
  70. void RemoveActiveEntry( APTR );
  71.  
  72. void InsertBottomEntry( APTR , APTR );
  73.  
  74. void InsertSortedEntry( APTR , APTR );
  75.  
  76. APTR GetActiveEntry( APTR );
  77.  
  78. struct MUI_NListtree_TreeNode *GetActiveTreeNode( APTR tree );
  79.  
  80. APTR MyNListviewObject( ULONG , UBYTE * , struct Hook * , struct Hook * , struct Hook * , struct Hook * , BOOL );
  81.  
  82. APTR MyNListtreeObject( APTR * , UBYTE * , struct Hook * , struct Hook * , struct Hook * , struct Hook * , struct Hook *, ULONG );
  83.  
  84. APTR MyBelowListview( APTR * , APTR * );
  85.  
  86. #define MyLabel(text)       LabelA(text)
  87. #define MyLabel2(text)      LabelB(text)
  88. #define MyHSpace(space)     HSpace(space)
  89. #define MyVSpace(space)     VSpace(space)
  90.  
  91. APTR MyTextObject( void );
  92.  
  93. APTR MyTextObject2( void );
  94.  
  95. APTR MyTextObject3( UBYTE * );
  96.  
  97. APTR MyTextObject4( UBYTE * );
  98.  
  99. APTR MyTextObject5( UBYTE * );
  100.  
  101. APTR MyCheckmarkImage( void );
  102.  
  103. void healstring( UBYTE * );
  104.  
  105. UBYTE *nonetest( UBYTE * );
  106.  
  107. BOOL IsReal( UBYTE * );
  108.  
  109. BOOL IsHex( UBYTE * , LONG * );
  110.  
  111. BOOL IsUHex( UBYTE * , ULONG * );
  112.  
  113. BOOL IsDec( UBYTE * , LONG * );
  114.  
  115. LONG GetRamPointerCount( struct Library * );
  116.  
  117. struct List *FindListOfNode( struct Node *ln );
  118.  
  119. LONG AllocListEntry( APTR, APTR, ULONG );
  120.  
  121. void FreeListEntry( APTR, APTR * );
  122.  
  123. APTR GetApplication( void );
  124.